home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-09-12 | 1.6 KB | 50 lines | [TEXT/MPS ] |
- /*
- copyright © 1992 Apple Computer Inc. All rights reserved.
- Apple Confidential - Do Not Distribute
-
- CommonDefines.h
- This file defines values used by more than one .r or .h file.
-
- Modification history
-
- 9/12/93 dmh Modified for the b2 seed.
- 4/26/93 dmh Modified for the b1 seed.
- 7/23/92 TED New file today
-
- */
-
- // driver info
- #define DriverName "ImageWriter"
- #define DriverType 'pdvr'
- #define DriverCreator 'IWII'
-
- // code segment info
- #define DriverSegType DriverType
- #define NewSegID 0
- #define OldSegID 1
-
- // resource IDs for STR#s
- #define kFormatModeFontsID gxPrintingDriverBaseID // List of "native" mode fonts supported
- #define kFormatModeStylesID (gxPrintingDriverBaseID + 1) // List of "well" known styles that are supported
- #define kBoldStyle 1 // Index into kFormatModeStylesID 'STR#' of the bold style string
- #define kUnderlineStyle 2 // Index into kFormatModeStylesID 'STR#' of the underline style string
-
- // status information
- #define kDriverStatus gxPrintingDriverBaseID // stat resource ID
- #define kSendingData 1 // item number for sending data
-
- // options, placed into the job collection
- #define kSuperRes 0x1 // highest res possible (160X144, 80X72)
-
- // do the following only if we aren't running in Rez
- #ifndef REZ
-
- // own own global storage - this gets passed as the first parameter for every message
- typedef struct
- {
- long leftMargin; // margin at left edge of page
- Handle draftTable; // table for driving draft output, nil when not loaded
- } SpecGlobals, *SpecGlobalsPtr, **SpecGlobalsHdl;
-
- #endif
-